#!/bin/bash

docker build -f apps-v1 -t harbor.oldboyedu.com/web/apps:v1 .
docker build -f apps-v2 -t harbor.oldboyedu.com/web/apps:v2 .
docker build -f apps-v3 -t harbor.oldboyedu.com/web/apps:v3 .

docker login -u admin -p 1 harbor.oldboyedu.com
docker push harbor.oldboyedu.com/web/apps:v1
docker push harbor.oldboyedu.com/web/apps:v2
docker push harbor.oldboyedu.com/web/apps:v3
docker logout  harbor.oldboyedu.com
